<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:fragment="header-head">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1,shrink-to-fit=no">
		<title>博客</title>
	<link rel="stylesheet" href="https://www.orchome.com/css/bootstrap/5.2.0//bootstrap.min.css">
		<link th:href="@{/css/bootstrap.css}" rel="stylesheet">
		<script th:src="@{/js/jquery-3.6.0.min.js}"></script>
		<script th:src="@{/js/bootstrap.js}"></script>
	</head>
	<body >

	<div  th:fragment="header-body" >
		<!-- Image and text -->
		<nav class="navbar navbar-light bg-light"  style="height:80px;">
			<a class="navbar-brand" th:href="@{'/index'}" style="font-weight:1000">
				<img  th:src="@{/imgs/login.jpg}"  width="45" height="45" class="d-inline-block align-top" alt="">
				李永强个人博客
			</a>
			<ul class="nav justify-content-end">
				<li class="nav-item">
					<a class="nav-link active"  th:href="@{'/userLogin'}">登录</a>
				</li>
				<li class="nav-item">
					<a class="nav-link" th:href="@{'/logout'}">登出</a>
				</li>
				<li class="nav-item">
					<a class="nav-link" th:href="@{'/my'}">后台管理</a>
				</li>
				<li class="nav-item">
					<a class="nav-link" th:href="@{'/client/friends'}">友链</a>
				</li>
			</ul>
		</nav>

	</div>
	</body>
</html>
